package com.lsh.airticket.feign;

import com.lsh.airticket.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lsh
 * @date 2021/2/24
 **/
@FeignClient("users")
public interface UsersFeign {
    @GetMapping("/users/user/findTbUserById")
    User findTbUserById(@RequestParam("userId") Integer userId);
}
